package com.tornado.system.model;

import java.util.Date;

public class User {
    @Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName
				+ ", userFname=" + userFname + ", password=" + password
				+ ", gender=" + gender + ", bornDate=" + bornDate + ", phone="
				+ phone + ", addr=" + addr + ", role=" + role + ", headimg="
				+ headimg + "]";
	}

	private Integer userId;

    private String userName;

    private String userFname;

    private String password;

    private String gender;

    private Date bornDate;

    private String phone;

    private String addr;

    private Integer role;

    private String headimg;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserFname() {
        return userFname;
    }

    public void setUserFname(String userFname) {
        this.userFname = userFname == null ? null : userFname.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

    public Date getBornDate() {
        return bornDate;
    }

    public void setBornDate(Date bornDate) {
        this.bornDate = bornDate;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr == null ? null : addr.trim();
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public String getHeadimg() {
        return headimg;
    }

    public void setHeadimg(String headimg) {
        this.headimg = headimg == null ? null : headimg.trim();
    }
}